package com.cloud.lan.entity.model.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 短信发送记录
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2021-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sms_message")
public class SmsMessageDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发送手机号
     */
    private String userPhone;

    /**
     * 发送内容
     */
    private String sendContent;

    /**
     * 返回结果状态
     */
    private String resultState;

    /**
     * openId
     */
    private String openId;

    /**
     * 返回结果信息
     */
    private String resultMsg;

    /**
     * 发送类型：0短信验证码
     */
    private Integer resultType;

    private Date createTime;

}
